package dhm.com.hpx.entity;

import java.util.List;

public class CuponBean {
    /**
     * code : 1
     * message : 获取成功
     * data : [{"receive_id":1,"user_id":2,"start_time":"2021-04-22","end_time":"2021-05-22","status":0,"coupon_id":1,"title":"满1000减100","type":1,"with_amount":1000,"amount":100,"create_time":2021}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * receive_id : 1
         * user_id : 2
         * start_time : 2021-04-22
         * end_time : 2021-05-22
         * status : 0
         * coupon_id : 1
         * title : 满1000减100
         * type : 1
         * with_amount : 1000
         * amount : 100
         * create_time : 2021
         */

        private int receive_id;
        private int user_id;
        private String start_time;
        private String end_time;
        private int status;
        private int coupon_id;
        private String title;
        private int type;
        private int with_amount;
        private int amount;
        private int create_time;

        public int getReceive_id() {
            return receive_id;
        }

        public void setReceive_id(int receive_id) {
            this.receive_id = receive_id;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getStart_time() {
            return start_time;
        }

        public void setStart_time(String start_time) {
            this.start_time = start_time;
        }

        public String getEnd_time() {
            return end_time;
        }

        public void setEnd_time(String end_time) {
            this.end_time = end_time;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getCoupon_id() {
            return coupon_id;
        }

        public void setCoupon_id(int coupon_id) {
            this.coupon_id = coupon_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getWith_amount() {
            return with_amount;
        }

        public void setWith_amount(int with_amount) {
            this.with_amount = with_amount;
        }

        public int getAmount() {
            return amount;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public int getCreate_time() {
            return create_time;
        }

        public void setCreate_time(int create_time) {
            this.create_time = create_time;
        }
    }
}
